// TODO 汇报工作量

// 定义公共响应体
export interface Common<T> {
  code: number,
  data: T,
  msg: string,
};

// 获取申报材料需求列表响应参数类型
export interface getWorkloadRequirementListData {
  irs: Array<{
    beginTime: string,
    contactTestBossName: string,
    contactTestNames: string,
    endTime: string,
    id: number,
    isWorkload: string,
    requirementBossName: string,
    requirementCreateName: string,
    requirementFatherStatus: number,
    requirementLinuxs: string,
    requirementManagerName: string,
    requirementName: string,
    requirementRelevances: string,
    requirementSecurityName: string,
  }> | [],
  irsBoss: Array<{
    beginTime: string,
    contactTestBossName: string,
    contactTestNames: string,
    endTime: string,
    id: number,
    isWorkload: string,
    requirementBossName: string,
    requirementCreateName: string,
    requirementFatherStatus: number,
    requirementLinuxs: string,
    requirementManagerName: string,
    requirementName: string,
    requirementRelevances: string,
    requirementSecurityName: string,
  }> | [],
};

// 汇报需求工作量请求参数类型
export interface postReportWorkloadRequirementForm {
  id: number | null,
  itemRequirementBossName: string,
  itemRequirementBossUUID: string,
  itemRequirementFeedbackDay: string,
  itemRequirementDeclarationDay: string,
  itemRequirementPersionDayPrice: string,
  itemRequirementReferenceCompanyStandards: string,
  itemRequirementApplicationDescription: string,
  itemRequirementMaterialPaths: string,
};

// 审核需求工作量请求参数类型
export interface postAuditWorkloadRequirementForm {
  id: number | null,
  isNext: number | null,
  itemRequirementAuditAfterDay: string,
  itemRequirementDescription: string,
  notIsNextMsg: string,
};

